// Add it after jquery.magnific-popup.js and before first initialization code
;(function($){
	 $.extend(true, $.magnificPopup.defaults, {
	  tClose: '关闭 (Esc)', // Alt text on close button
	  tLoading: '加载中...', // Text that is displayed during loading. Can contain %curr% and %total% keys
	  gallery: {
	    tPrev: '上一张  (<-)', // Alt text on left arrow
	    tNext: '下一张 (->)', // Alt text on right arrow
	    tCounter: '第%curr%张，共%total%张' // Markup for "1 of 7" counter
	  },
	  image: {
	    tError: '<a href="%url%">图片损坏</a> 不能被加载.' // Error message when image could not be loaded
	  },
	  ajax: {
	    tError: '<a href="%url%">内容</a> 不能被加载.' // Error message when ajax request failed
	  }
	});
}(jQuery));